%Succeed to open USB2Dynamixel!
data=struct();
% Reglage:
data.description_experience="Mesure du couple lors de la levé d'un poid de 1Kg";
data.values=zeros(10000,6);% Indices des colonnes de données
data.col_time=1;
data.col_position=2;
data.col_vitesse=3;
data.col_current=4;
data.col_load=5;
data.col_consigne=6;
i=0;

%Duree_us: 1500000
%Press Enter key to continue!(press ESC and Enter to quit)

%Parametre : speedRpm < 10.000000%PresentTimeUs,PresentPosDegree,PresentSpeedRadps,PresentCurrentInc,PresentLoadNm,Goalposdegree
i=i+1;data.values(i,:)=[0,1689,0,2050,1064,238.483521];
i=i+1;data.values(i,:)=[9029,1689,0,2060,1120,238.483521];
i=i+1;data.values(i,:)=[17457,1689,0,2071,1168,238.483521];
i=i+1;data.values(i,:)=[27035,1690,0,2077,1183,238.483521];
i=i+1;data.values(i,:)=[35019,1694,28,2073,1156,238.483521];
i=i+1;data.values(i,:)=[45024,1701,56,2075,1129,238.483521];
i=i+1;data.values(i,:)=[54451,1708,80,2073,1100,238.483521];
i=i+1;data.values(i,:)=[64041,1714,84,2073,1094,238.483521];
i=i+1;data.values(i,:)=[72032,1721,84,2071,1088,238.483521];
i=i+1;data.values(i,:)=[81018,1729,96,2071,1066,238.483521];
i=i+1;data.values(i,:)=[89043,1735,96,2071,1060,238.483521];
i=i+1;data.values(i,:)=[97041,1742,96,2070,1052,238.483521];
i=i+1;data.values(i,:)=[106764,1749,92,2067,1052,238.483521];
i=i+1;data.values(i,:)=[115060,1757,92,2066,1058,238.483521];
i=i+1;data.values(i,:)=[126046,1765,88,2070,1072,238.483521];
i=i+1;data.values(i,:)=[137090,1771,84,2072,1078,238.483521];
i=i+1;data.values(i,:)=[145048,1776,80,2077,1106,238.483521];
i=i+1;data.values(i,:)=[154478,1782,72,2076,1119,238.483521];
i=i+1;data.values(i,:)=[163045,1788,72,2075,1114,238.483521];
i=i+1;data.values(i,:)=[173048,1796,80,2075,1094,238.483521];
i=i+1;data.values(i,:)=[182044,1804,92,2069,1060,238.483521];
i=i+1;data.values(i,:)=[191041,1812,100,2070,1041,238.483521];
i=i+1;data.values(i,:)=[200063,1819,100,2067,1047,238.483521];
i=i+1;data.values(i,:)=[209041,1826,92,2068,1052,238.483521];
i=i+1;data.values(i,:)=[217042,1831,88,2073,1086,238.483521];
i=i+1;data.values(i,:)=[227210,1838,80,2074,1092,238.483521];
i=i+1;data.values(i,:)=[237050,1844,76,2077,1106,238.483521];
i=i+1;data.values(i,:)=[245040,1849,68,2076,1127,238.483521];
i=i+1;data.values(i,:)=[254138,1856,80,2070,1094,238.483521];
i=i+1;data.values(i,:)=[265041,1867,92,2072,1074,238.483521];
i=i+1;data.values(i,:)=[273045,1874,100,2070,1049,238.483521];
i=i+1;data.values(i,:)=[282049,1882,100,2070,1033,238.483521];
i=i+1;data.values(i,:)=[291039,1889,96,2071,1058,238.483521];
i=i+1;data.values(i,:)=[301039,1895,88,2072,1092,238.483521];
i=i+1;data.values(i,:)=[310692,1901,72,2076,1111,238.483521];
i=i+1;data.values(i,:)=[319048,1904,64,2079,1125,238.483521];
i=i+1;data.values(i,:)=[327040,1911,76,2073,1100,238.483521];
i=i+1;data.values(i,:)=[337048,1920,88,2071,1068,238.483521];
i=i+1;data.values(i,:)=[347045,1928,96,2070,1055,238.483521];
i=i+1;data.values(i,:)=[357060,1936,96,2070,1060,238.483521];
i=i+1;data.values(i,:)=[366046,1943,92,2072,1072,238.483521];
i=i+1;data.values(i,:)=[375056,1950,92,2073,1086,238.483521];
i=i+1;data.values(i,:)=[384060,1956,84,2072,1086,238.483521];
i=i+1;data.values(i,:)=[394036,1962,80,2074,1114,238.483521];
i=i+1;data.values(i,:)=[402017,1968,84,2074,1100,238.483521];
i=i+1;data.values(i,:)=[411017,1976,84,2071,1088,238.483521];
i=i+1;data.values(i,:)=[420032,1983,92,2073,1080,238.483521];
i=i+1;data.values(i,:)=[429034,1990,92,2073,1074,238.483521];
i=i+1;data.values(i,:)=[439033,1996,84,2074,1094,238.483521];
i=i+1;data.values(i,:)=[448058,2003,88,2073,1080,238.483521];
i=i+1;data.values(i,:)=[457019,2010,88,2073,1080,238.483521];
i=i+1;data.values(i,:)=[466034,2017,92,2070,1066,238.483521];
i=i+1;data.values(i,:)=[476047,2025,92,2070,1080,238.483521];
i=i+1;data.values(i,:)=[486028,2033,88,2072,1086,238.483521];
i=i+1;data.values(i,:)=[494016,2038,84,2074,1100,238.483521];
i=i+1;data.values(i,:)=[503017,2044,84,2076,1086,238.483521];
i=i+1;data.values(i,:)=[512026,2051,80,2072,1086,238.483521];
i=i+1;data.values(i,:)=[521016,2058,84,2072,1080,238.483521];
i=i+1;data.values(i,:)=[531034,2065,92,2071,1088,238.483521];
i=i+1;data.values(i,:)=[539019,2071,92,2071,1074,238.483521];
i=i+1;data.values(i,:)=[548030,2078,92,2073,1080,238.483521];
i=i+1;data.values(i,:)=[558019,2086,92,2072,1086,238.483521];
i=i+1;data.values(i,:)=[568040,2093,88,2072,1080,238.483521];
i=i+1;data.values(i,:)=[578034,2101,84,2071,1066,238.483521];
i=i+1;data.values(i,:)=[588038,2109,88,2070,1072,238.483521];
i=i+1;data.values(i,:)=[598021,2116,92,2072,1080,238.483521];
i=i+1;data.values(i,:)=[608036,2123,84,2070,1080,238.483521];
i=i+1;data.values(i,:)=[619019,2131,84,2072,1086,238.483521];
i=i+1;data.values(i,:)=[628050,2138,84,2070,1086,238.483521];
i=i+1;data.values(i,:)=[638015,2146,88,2070,1080,238.483521];
i=i+1;data.values(i,:)=[648043,2154,92,2069,1066,238.483521];
i=i+1;data.values(i,:)=[659029,2162,92,2073,1080,238.483521];
i=i+1;data.values(i,:)=[669015,2169,84,2072,1086,238.483521];
i=i+1;data.values(i,:)=[679019,2176,84,2072,1086,238.483521];
i=i+1;data.values(i,:)=[690014,2184,84,2069,1066,238.483521];
i=i+1;data.values(i,:)=[701014,2193,88,2070,1066,238.483521];
i=i+1;data.values(i,:)=[712033,2201,92,2070,1066,238.483521];
i=i+1;data.values(i,:)=[722012,2209,84,2072,1100,238.483521];
i=i+1;data.values(i,:)=[734016,2217,84,2072,1100,238.483521];
i=i+1;data.values(i,:)=[746035,2226,84,2071,1086,238.483521];
i=i+1;data.values(i,:)=[757021,2235,88,2072,1080,238.483521];
i=i+1;data.values(i,:)=[769038,2242,88,2073,1080,238.483521];
i=i+1;data.values(i,:)=[781015,2251,88,2074,1080,238.483521];
i=i+1;data.values(i,:)=[793015,2261,92,2072,1080,238.483521];
i=i+1;data.values(i,:)=[805628,2270,88,2072,1086,238.483521];
i=i+1;data.values(i,:)=[817036,2279,88,2070,1072,238.483521];
i=i+1;data.values(i,:)=[829014,2288,88,2071,1072,238.483521];
i=i+1;data.values(i,:)=[841014,2296,88,2070,1072,238.483521];
i=i+1;data.values(i,:)=[853014,2306,88,2070,1066,238.483521];
i=i+1;data.values(i,:)=[865022,2315,88,2075,1072,238.483521];
i=i+1;data.values(i,:)=[877015,2324,88,2070,1078,238.483521];
i=i+1;data.values(i,:)=[889037,2332,80,2075,1092,238.483521];
i=i+1;data.values(i,:)=[901040,2341,80,2072,1094,238.483521];
i=i+1;data.values(i,:)=[913015,2350,88,2074,1080,238.483521];
i=i+1;data.values(i,:)=[925034,2359,92,2071,1072,238.483521];
i=i+1;data.values(i,:)=[937014,2368,88,2069,1072,238.483521];
i=i+1;data.values(i,:)=[949019,2377,88,2073,1080,238.483521];
i=i+1;data.values(i,:)=[961014,2386,88,2073,1080,238.483521];
i=i+1;data.values(i,:)=[973030,2393,80,2072,1086,238.483521];
i=i+1;data.values(i,:)=[985015,2403,88,2072,1086,238.483521];
i=i+1;data.values(i,:)=[997015,2412,88,2071,1080,238.483521];
i=i+1;data.values(i,:)=[1009044,2421,88,2072,1080,238.483521];
i=i+1;data.values(i,:)=[1021033,2429,88,2073,1080,238.483521];
i=i+1;data.values(i,:)=[1033021,2438,88,2070,1072,238.483521];
i=i+1;data.values(i,:)=[1045014,2447,84,2073,1080,238.483521];
i=i+1;data.values(i,:)=[1057440,2456,88,2070,1072,238.483521];
i=i+1;data.values(i,:)=[1069036,2464,84,2074,1086,238.483521];
i=i+1;data.values(i,:)=[1081035,2474,88,2073,1080,238.483521];
i=i+1;data.values(i,:)=[1093033,2483,88,2069,1072,238.483521];
i=i+1;data.values(i,:)=[1105018,2492,88,2069,1072,238.483521];
i=i+1;data.values(i,:)=[1117019,2500,88,2072,1080,238.483521];
i=i+1;data.values(i,:)=[1129034,2509,88,2069,1080,238.483521];
i=i+1;data.values(i,:)=[1141021,2519,88,2073,1072,238.483521];
i=i+1;data.values(i,:)=[1153014,2527,84,2072,1086,238.483521];
i=i+1;data.values(i,:)=[1165017,2536,84,2072,1086,238.483521];
i=i+1;data.values(i,:)=[1177015,2545,88,2071,1080,238.483521];
i=i+1;data.values(i,:)=[1189036,2555,88,2072,1078,238.483521];
i=i+1;data.values(i,:)=[1201016,2562,84,2072,1086,238.483521];
i=i+1;data.values(i,:)=[1213035,2572,88,2069,1072,238.483521];
i=i+1;data.values(i,:)=[1225035,2580,88,2073,1080,238.483521];
i=i+1;data.values(i,:)=[1237035,2589,88,2073,1086,238.483521];
i=i+1;data.values(i,:)=[1249022,2598,84,2071,1072,238.483521];
i=i+1;data.values(i,:)=[1261033,2607,84,2071,1086,238.483521];
i=i+1;data.values(i,:)=[1273015,2616,84,2073,1086,238.483521];
i=i+1;data.values(i,:)=[1285036,2625,88,2072,1080,238.483521];
i=i+1;data.values(i,:)=[1297033,2634,84,2069,1072,238.483521];
i=i+1;data.values(i,:)=[1309035,2643,84,2074,1080,238.483521];
i=i+1;data.values(i,:)=[1321033,2653,88,2071,1086,238.483521];
i=i+1;data.values(i,:)=[1333023,2661,84,2072,1066,238.483521];
i=i+1;data.values(i,:)=[1345017,2670,84,2072,1086,238.483521];
i=i+1;data.values(i,:)=[1357018,2679,84,2070,1086,238.483521];
i=i+1;data.values(i,:)=[1369037,2687,84,2064,1064,238.483521];
i=i+1;data.values(i,:)=[1381035,2696,88,2051,18,238.483521];
i=i+1;data.values(i,:)=[1393032,2704,80,2047,62,238.483521];
i=i+1;data.values(i,:)=[1405019,2709,60,2047,65,238.483521];
i=i+1;data.values(i,:)=[1417017,2712,36,2048,38,238.483521];
i=i+1;data.values(i,:)=[1429013,2712,16,2048,1040,238.483521];
i=i+1;data.values(i,:)=[1441030,2711,1032,2048,1059,238.483521];
i=i+1;data.values(i,:)=[1453034,2709,1036,2048,1059,238.483521];
i=i+1;data.values(i,:)=[1465014,2710,0,2048,1048,238.483521];
i=i+1;data.values(i,:)=[1477016,2710,0,2048,1048,238.483521];
i=i+1;data.values(i,:)=[1489014,2710,0,2048,1048,238.483521];
i=i+1;data.values(i,:)=[1501039,2710,0,2048,1048,238.483521];
data.values=data.values(1:i,:);
